#pragma once

#include "../../resource.h"
#include "afxwin.h"


class CSelectSet;

// SelectNodeDlg

class CSelectNodeDlg : public CDialog
{
	DECLARE_DYNAMIC(CSelectNodeDlg)

public:
	CSelectNodeDlg(CWnd* pParent = NULL);
	virtual ~CSelectNodeDlg();

	enum { IDD = IDD_DLG_SELECTNODE };

	virtual BOOL OnInitDialog();

protected:
	virtual void DoDataExchange(CDataExchange* pDX);

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedBtnSelectnodePre();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedBtnSelectnodeNext();

private:
	void					ResetBtns();


	CSelectSet*				m_pSelectSet;
	long					m_lCurrent;
	CButton					m_BtnPrev;
	CButton					m_BtnNext;
	CButton					m_BtnSelectNodeOK;
};
